﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>投资工程管理系统-@ViewBag.Title</title>
    <!--css start-->
    <link rel="stylesheet" href="~/Resource/css/base.css" />
    <link rel="stylesheet" href="~/Resource/plugins/layui-2.1.2/css/layui.css" />
    <link rel="stylesheet" href="~/Resource/css/font-awesome.css" />
    <link rel="stylesheet" href="~/Resource/css/index.css" />
    <!--css end-->
    <!--js start-->
    <script type="text/javascript" src="~/Resource/scripts/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="~/Resource/plugins/layui-2.1.2/layui.js"></script>
    <script type="text/javascript" src="~/Resource/js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="~/Resource/scripts/comm.js"></script>
    <script type="text/javascript" src="~/Resource/scripts/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Resource/scripts/jquery.validate.messages.cn.js" charset="UTF-8"></script>
    <!--js end-->
    <!--upload start-->
    <script src="~/Resource/scripts/global.js" type="text/javascript"></script>
    <script src="~/Resource/scripts/plupload_2_1_2/moxie.min.js" type="text/javascript"></script>
    <script src="~/Resource/scripts/plupload_2_1_2/plupload.dev.js" type="text/javascript"></script>
    <script src="~/Resource/scripts/plupload_2_1_2/zh_CN.js" type="text/javascript" charset="UTF-8"></script>
    <script src="~/Resource/plugins/layui-2.1.2/lay/modules/element.js" type="text/javascript"></script>
    <!--upload end-->
    @using hc.Plat.Common.Global;
    @using hc.epm.ViewModel;
    @{
        var userInfo = Session[ConstStr_Session.CurrentUserEntity] as UserView;
        var username = userInfo == null ? "noLogin" : userInfo.UserName;
    }
</head>
<body>
    <div class="head">
        <div class="subhead">
            <div class="subheadRight">
                @if (userInfo == null)
                {
                    <p>请>@Html.ActionLink("登录", "Login", "Currency") &nbsp;&nbsp;/</p>
                    <p>您好，游客！ 欢迎来到【投资工程管理系统】</p>
                }
                else {
                    <p>@Html.ActionLink("注销", "LogOut", "Currency") &nbsp;&nbsp;/</p>
                    <p>您好 @username 欢迎来到【投资工程管理系统】</p>
                }
            </div>
            @*<div class="subheadLeft" id="subheadLeft">
                <input type="text" placeholder="请选择项目" onfocus="this.placeholder = ''" onblur="this.placeholder = '请选择项目'" readonly="readonly" /><a href=""><img src="~/Resource/images/headimg.jpg" /></a>
                <div class="selectProject" id="selectProject" style="display:none">
                </div>
            </div>*@

        </div>
    </div>
    @Html.Partial("_TopMenu")
    @RenderBody()
    @Html.Partial("_footer")
</body>
</html>